/**
* \brief 
* \author pengcheng (pengcheng@yslrpch@126.com)
* \date 2020-06-19
* \attention CopyrightÃ‚Â©ADC Technology(tianjin)Co.Ltd
* \attention Refer to COPYRIGHT.txt for complete terms of copyright notice
*/

#include <string>
#include <memory>
namespace adc
{
    
class RootPath
{
public:
    using Ptr = std::shared_ptr<RootPath>;
    void SetRoot(const std::string &root);
    std::string GetRoot();
    static RootPath::Ptr GetInstance();
    static bool AbsolutePath(const std::string &path);
    static const std::string GetAbsolutePath(const std::string &path);
    ~RootPath();  
    RootPath();

private:
    std::string root_path_;
    static RootPath::Ptr instance_ptr_;

};



}